﻿<!--
//********************************************************************************//
//创建日期：<创建日期，2017-08-29>
//创建作者：<郭登杰，guodengjie@shanghai3h.com>
//功能说明：打印加价账单 自来水
//********************************************************************************//
    -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../../css/main.css" rel="stylesheet" />
    <link href="../../../../JS/layui/css/layui.css" rel="stylesheet" />
    <script src="../../../../JS/layui/layui.js"></script>
    <script src="../../../../JS/AddEditCancel.js"></script>
    <script src="../../../../PageJS/common.verify.js"></script>
    <script defer src="../../../../JS/jquery-1.11.1.min.js"></script>
    <script defer src="../../../../PageJS/wap.js"></script>
    <script defer src="../../../../PageJS/common.js"></script>
    <script defer src="../../../../PageJS/YSSF/JiaJiaZD.js"></script>
</head>
<body>
    <form class="layui-form">
        <div id="divContent" style="width:98%;margin:auto">
            <div class="tabletitle1" align="center" style="height:23px;display:none">
                加价账单打印
            </div>
            <div class="layui-tab layui-tab-brief">
                <ul class="layui-tab-title">
                    <li class="layui-this" style="font-size:14px">打印</li>
                    <li style="font-size:14px">已打管理</li>
                    <li style="font-size:14px">打印统计</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-form-item">
                            <div class="layui-inline" style="width:870px">
                                <label class="layui-form-label" style="width:60px">用户号:</label>
                                <div class="layui-input-inline" style="width: 80px;">
                                    <input id="cYHH" class="layui-input" />
                                </div>
                                <label class="layui-form-label" style="width:50px">水量年:</label>
                                <div class="layui-input-inline" style="width: 55px;">
                                    <input id="cY1" autocomplete="off" class="layui-input" onkeydown="return onlyNum();" value="2004">
                                </div>
                                <div class="layui-form-mid">-</div>
                                <div class="layui-input-inline" style="width: 55px;">
                                    <input id="cY2" autocomplete="off" class="layui-input" onkeydown="return onlyNum();" value="2019">
                                </div>
                                <label class="layui-form-label" style="width:70px">收费方式:</label>
                                <div class="layui-input-inline" style="width:70px">
                                    <select id="oiSFFS">
                                        <option value="-1" selected>&nbsp;</option>
                                        <option value="301">现金</option>
                                        <option value="302">支票</option>
                                        <option value="303">付委</option>
                                    </select>
                                </div>
                                <div class="layui-input-inline" style="width:190px">
                                    <input type="radio" name="cType" title="已打印" value="1">
                                    <input type="radio" name="cType" title="未打印" value="0" checked>
                                </div>
                                <div class="layui-input-inline" style="width:150px">
                                    <button id="oSearch" class="layui-btn layui-btn-primary" type="button">查询</button>
                                    <button id="oReset" class="layui-btn layui-btn-primary" type="button">重置</button>
                                </div>
                            </div></br>
                            <span>&nbsp;&nbsp;当前发票号码:<label id="lsBillNo" style="color:red;"></label> (注:勾选多条时逐条打印)</span>
                            <div class="layui-inline" style="float:right;">
                                
                                <div class="layui-input-inline" style="width:140px">
                                    <label class="layui-form-label" style="width:70px">发票输入:</label>
                                    <div class="layui-input-inline" style="width:50px">
                                        <input type="checkbox" id="oBillInputSwitch" lay-filter="oBillInputSwitch" lay-skin="switch" lay-text="开启|关闭">
                                    </div>
                                </div>
                                <div class="layui-input-inline" style="width:180px">
                                    <button id="btnPrint" class="layui-btn layui-btn-primary" type="button">打印</button>
                                    <button id="btnPrintSaving" class="layui-btn layui-btn-primary" type="button">补打存根</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto; width: 100%; height: 460px; border: 1px solid #e2e2e2; vertical-align: top;">
                            <table id="ContentList1" class="layui-table" style="width:1600px">
                                <thead>
                                    <tr>
                                        <th style="width:20px;text-align:center">
                                            <!--<input type="checkbox" id="oSelectAll" lay-filter="selectAll" lay-skin="primary">-->
                                        </th>
                                        <th style="width: 65px;text-align:center">费用编号</th>
                                        <th style="width: 55px;text-align:center">用户号</th>
                                        <th style="width: 200px; text-align: center">用户名</th>
                                        <th style="width: 70px; text-align: center">水量年月</th>
                                        <th style="width: 50px; text-align: center">加价额</th>
                                        <th style="width: 50px; text-align: center">计划量</th>
                                        <th style="width: 50px; text-align: center">实用量</th>
                                        <th style="width: 50px; text-align: center">加价量</th>
                                        <th style="width: 200px; text-align: center">开户户名</th>
                                        <th style="width: 90px; text-align: center">发票号</th>
                                        <th style="width: 35px; text-align: center">打印</th>
                                        <td></td>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <table id="ItemStr1" style="display: none">
                            <tr class="datarow" style="cursor:pointer" vid="objid" vid2="objDYZT">
                                <td style="text-align:center">
                                    <input type="checkbox" vid="objid" lay-skin="primary" name="liCheck" lay-filter="liCheck">
                                </td>
                                <td style="text-align:center">objid</td>
                                <td style="text-align:center" name="litYHH">objYHH</td>
                                <td style="text-align:left" name="litYHM">
                                    <input type="text" name="liYHM" autocomplete="off" class="layui-input" value="objYHM">
                                </td>
                                <td style="text-align:center" name="litYM">objYM</td>
                                <td style="text-align:right" name="litJJJE">objJinE</td>
                                <td style="text-align:center" name="litJHL">objJiHuaL</td>
                                <td style="text-align:center" name="litSYL">objShiYongL</td>
                                <td style="text-align:center" name="litJJL">objJiaJiaL</td>
                                <td style="text-align:left" name="litKHHM">
                                    <input type="text" name="liKHHM" autocomplete="off" class="layui-input" value="objKHHM">
                                </td>
                                <td style="text-align:center" name="litFPHM">
                                    <input name="liFaPiaoHM" autocomplete="off" class="layui-input" style="display:none;" value="objFPHM" onkeydown="return onlyNum();">
                                </td>
                                <td style="text-align:center" name="litDYZT"></td>
                                <td></td>
                            </tr>
                        </table>
                        <div>
                            <!--<span>&nbsp;&nbsp;当前发票号码:<label id="lsBillNo"></label> (注:勾选多条时逐条打印)</span>-->
                            <!--<span style="float:right">选中条数:<label id="lsCount">0</label>&nbsp;&nbsp;&nbsp;&nbsp;总金额:<label id="lsMoney">0</label></span>-->
                        </div>
                        <hr />
                        <div style="text-align: right;padding-top:3px">

                        </div>
                        <label id="ObjId" vid="0"></label>
                    </div>
                    <div class="layui-tab-item">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <div class="layui-input-inline" style="width:70px">
                                    <button id="o2Operate" class="layui-btn layui-btn-primary" type="button">变更</button>
                                </div>
                                <label class="layui-form-label" style="width:100px">发票号/费用号:</label>
                                <div class="layui-input-inline" style="width: 100px;">
                                    <input id="c2HM" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                                </div>
                                <label class="layui-form-label" style="width:60px">水量年月:</label>
                                <div class="layui-input-inline" style="width: 70px;">
                                    <input id="c2YM" autocomplete="off" class="layui-input" onkeydown="return onlyNum();">
                                </div>                                
                                <label class="layui-form-label" style="width:60px">打印日期:</label>
                                <div class="layui-input-inline" style="width:90px">
                                    <input id="c2PrintDate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true, istime: true, format: 'YYYY-MM-DD' })" />
                                </div>
                                <div class="layui-input-inline" style="width:130px">
                                    <input type="checkbox" id="c2Printed1" name="c2Printed" lay-skin="primary" lay-filter="cPrinted" title="成功" value="1" checked>
                                    <input type="checkbox" id="c2Printed0" name="c2Printed" lay-skin="primary" lay-filter="cPrinted" title="打坏" value="2" checked>
                                </div>
                                <div class="layui-input-inline" style="width:150px">
                                    <button id="o2Search" class="layui-btn layui-btn-primary" type="button">查询</button>
                                    <button id="o2Clear" class="layui-btn layui-btn-primary" type="button">清空</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto;width:100%; height: 470px; border: 1px solid #e2e2e2;vertical-align:top ">
                            <table id="ContentList2" name="ContentList2" class="layui-table" style="width:1600px">
                                <thead>
                                    <tr>
                                        <th style="width:20px;text-align:center">
                                            <input type="checkbox" id="o2SelectAll" lay-filter="selectAll2" lay-skin="primary">
                                        </th>
                                        <th style="width: 80px; text-align: center">发票号码</th>
                                        <th style="width:60px;text-align: center">打印状态</th>
                                        <th style="width: 80px; text-align: center">打印日期</th>
                                        <th style="width:60px;text-align:center">费用编号</th>
                                        <th style="width:60px;text-align:center">水量年月</th>
                                        <th style="width: 60px; text-align: center">用户号</th>
                                        <th style="width: 250px; text-align: center">用户名</th>
                                        <th style="width: 60px; text-align: center">加价额</th>
                                        <th style="width: 60px; text-align: center">计划量</th>
                                        <th style="width: 60px; text-align: center">实用量</th>
                                        <th style="width: 60px; text-align: center">加价量</th>
                                        <td></td>
                                    </tr>
                                </thead>
                            </table>
                            <table id="ItemStr2" style="display: none">
                                <tr class="datarow" style="cursor:pointer" vid="objFaPiaoHM">
                                    <td style="text-align:center">
                                        <input type="checkbox" name="liCheck" vid="objFaPiaoHM" vid2="objZhangDanBH" disabled lay-skin="primary" lay-filter="liCheck">
                                    </td>
                                    <td style="text-align:center">objFaPiaoHM</td>
                                    <td style="text-align:center" name="litDYZT">objDaYinZT</td>
                                    <td style="text-align:center">objDaYinRQ</td>
                                    <td style="text-align:center">objZhangDanBH</td>
                                    <td style="text-align:center">objYM</td>
                                    <td style="text-align:center" name="litYHH">objYongHuH</td>
                                    <td>objYongHuM</td>
                                    <td style="text-align:right">objJinE</td>
                                    <td style="text-align:center">objJiHuaL</td>
                                    <td style="text-align:center">objShiYongL</td>
                                    <td style="text-align:center">objJiaJiaL</td>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                        <div style="font-size:20px">
                            <span>&nbsp;&nbsp;记录条数: <label id="ls2Count" style="color:green">0</label> </span>
                            &nbsp;&nbsp;
                        </div>
                    </div>
                    <div class="layui-tab-item">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label" style="width:60px">打印日期:</label>
                                <div class="layui-input-inline" style="width:90px">
                                    <input id="c3PrintDate" class="layui-input" onclick="layui.laydate({ elem: this, festival: true,istime:true,format:'YYYY-MM-DD' })" />
                                </div>
                                <div class="layui-input-inline" style="width:150px">
                                    <button id="o3Search" class="layui-btn layui-btn-primary" type="button">查询</button>
                                    <button id="o3Clear" class="layui-btn layui-btn-primary" type="button">清空</button>
                                </div>
                            </div>
                        </div>
                        <div style="overflow: auto;width:100%; height: 470px; border: 1px solid #e2e2e2;vertical-align:top ">
                            <table id="ContentList3" name="ContentList3" class="layui-table" style="width:100%">
                                <thead>
                                    <tr>
                                        <th style="width: 100px; text-align: center">发票起始号码</th>
                                        <th style="width:100px;text-align: center">发票结束号码</th>
                                        <th style="width:80px;text-align: center">数量</th>
                                        <th style="width: 100px; text-align: center">打印日期</th>
                                        <td></td>
                                    </tr>
                                </thead>
                            </table>
                            <table id="ItemStr3" style="display: none">
                                <tr class="datarow" style="cursor:pointer" vid="objDaYinRQ">
                                    <td style="text-align:center">objQISHIFPHM</td>
                                    <td style="text-align:center">objJIESHUFPHM</td>
                                    <td style="text-align:center">objSL</td>
                                    <td style="text-align:center">objDaYinRQ</td>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                        <div style="font-size:20px">
                            <span>&nbsp;&nbsp;记录条数: <label id="ls3Count" style="color:green">0</label> </span>
                            &nbsp;&nbsp;
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
